# -*- coding:utf-8 -*-
"""
@Time : 2025/02/05 22:31 PM
@Author: xiaomi
@Des: schemas模型
"""
from datetime import datetime
from pydantic import Field, BaseModel, field_validator
from typing import Optional, List, Tuple, Union
from schemas.base import BaseResp

class ConfigGroupItem(BaseModel):
    id: int
    title: str

class ConfigGroupList(BaseResp):
    data: List[ConfigGroupItem]

class UpdateConfigValueItem(BaseModel):
    id: int
    config_value: Optional[str]=None

class UpdateConfigValueListReq(BaseModel):
    data: List[UpdateConfigValueItem]